﻿<%@ Page Title="" Language="C#" MasterPageFile="~/front/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="front_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="main" runat="Server">
    <div class="container">
        <div class="content">
            <div class="col-md-7 content-left">
                <div class="article">
                    <h5 class="head">科技时事</h5>
                    <asp:DataList ID="DataList1" runat="server">
                        <ItemTemplate>
                            <div style="position:relative">
                                <h6><%# Eval("source") %> </h6>
                                <span class="pull-right-time"><%# Eval("created_at") %></span>
                            </div>
                            
                            <a class="title" href=<%# "/front/Show.aspx?id="+Eval("id") %>><%# Eval("title") %></a>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
                <div class="article">
                    <h5 class="head">人工智能</h5>
                    <asp:DataList ID="DataList2" runat="server">
                        <ItemTemplate>
                            <div style="position:relative">
                                <h6><%# Eval("source") %> </h6>
                                <span class="pull-right-time"><%# Eval("created_at") %></span>
                            </div>
                            
                            <a class="title" href=<%# "/front/Show.aspx?id="+Eval("id") %>><%# Eval("title") %></a>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
            <div class="col-md-5 content-right">
                <div class="content-right-top">
                    <h5 class="head">互联网</h5>
                    <asp:DataList ID="DataList3" runat="server">
                        <ItemTemplate>
                            <a href=<%# "/front/Show.aspx?id="+Eval("id") %>>
                                <div class="editor text-center">
                                    <h3><%# Eval("title") %></h3>
                                    <p><%# Eval("source") %> </p>
                                    <label><%# Eval("created_at") %></label>
                                    <span></span>
                                </div>
                            </a>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
                <div class="content-right-top">
                    <h5 class="head">虚拟现实</h5>
                    <asp:DataList ID="DataList4" runat="server">
                        <ItemTemplate>
                            <a href=<%# "/front/Show.aspx?id="+Eval("id") %>>
                                <div class="editor text-center">
                                    <h3><%# Eval("title") %></h3>
                                    <p><%# Eval("source") %> </p>
                                    <label><%# Eval("created_at") %></label>
                                    <span></span>
                                </div>
                            </a>
                        </ItemTemplate>
                    </asp:DataList>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="js" runat="Server">
</asp:Content>

